<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <div>
    <h1>表单提交</h1>
    <form action="http://www.liulongbin.top:3006/api/addbook" method="post" target="_blank">
      <div>
        <label for="bookname">图书名称：</label>
        <input type="text" name="bookname" id="bookname">
      </div>
      <div>
        <label for="author">图书作者：</label>
        <input type="text" name="author" id="author">
      </div>
      <div>
        <label for="publisher">图书出版社：</label>
        <input type="text" name="publisher" id="publisher">
      </div>
      <div>
        <!-- input的type如果是submit，那么点击时自动提交 -->
        <input type="submit" value="提交">
        <!-- button按钮默认有提交动作 -->
        <!-- <button>提交</button> -->
      </div>
    </form>
  </div>
</body>
</html>